package com.awifi.com.thread.threadName;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/6/28 14:07
 */
public class ThreadName extends Thread{
    public ThreadName(){}
    public ThreadName(String name){
        super(name);
    }

    @Override
    public void run() {
        System.out.println(ThreadName.currentThread().getName());
        System.out.println(this);
    }
}
